package vip.xiaonuo.pay.modular.alipay.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class AliPayRecord {

    private static final long serialVersionUID = 1L;

    /**
     * 支付记录id
     */
    private String payRecordId;

    /**
     * 支付宝交易号，必选
     */
    private String tradeNo;

    /**
     * 订单标题
     */
    private String subject;

    /**
     * 商家订单号，必选
     */
    private String outTradeNo;

    /**
     * 记录类型：0 支出 1 收入
     */
    private String recordType;

    /**
     * 买家支付宝账号，必选
     */
    private String buyerLogonId;

    /**
     * 交易状态，必选
     */
    private String tradeStatus;

    /**
     * 交易的订单金额，单位为元，必选
     */
    private String totalAmount;

    /**
     * 买家实付金额，单位为元，必选
     */
    private String buyerPayAmount;

    /**
     * 支付回调参数
     */
    private String callBackParams;

}
